import App from './App'
import Vue from 'vue'
import store from 'store/index'
import uview from 'uview-ui'
import 'global/global.css'
Vue.use(uview)

Vue.config.productionTip = false
App.mpType = 'app'
const app = new Vue({
	...App,
	store
})

uni.$loading = (title='加载中...') => {uni.showLoading({title,mask:true})}
uni.$showMsg = (title, icon = 'success',duration = 1500) => {
	uni.showToast({
		title, //标题 必填
		icon, //图标
		duration
	});
}
					
				

app.$mount()

